package com.github.xiaolyuh.entity;

/**
 * 缓存值
 *
 * @author xuwanglong
 */
public class CacheValue<T> {

    /**
     * 缓存对象
     */
    private T value;

    /**
     * 过期时间
     */
    private Integer expireTime;

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }

    public Integer getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Integer expireTime) {
        this.expireTime = expireTime;
    }

}
